import Loadable from 'react-loadable'
import { loading } from '../pages/loading'

const NotFound = Loadable({
  loader: () => import('./NotFound'),
  loading: loading
})
const Login = Loadable({
  loader: () => import('./Login'),
  loading: loading
})
const Me = Loadable({
  loader: () => import('./Me'),
  loading: loading
})
const Register = Loadable({
  loader: () => import('./Register'),
  loading: loading
})
export { NotFound, Login, Me, Register }
